package cn.qingxuntech.console.entity

import com.fasterxml.jackson.annotation.JsonFormat
import com.mybatisflex.annotation.Id
import com.mybatisflex.annotation.Table
import java.time.LocalDateTime

/**
 * @author zooy
 * @since 2025/11/1-10:20
 */
@Table("t_log_record")
class LogRecord {

    // 主键ID
    @Id
    var id: Int? = null

    // 广告位ID
    var adspaceId: String? = null

    // 请求参数
    var request: String? = null

    // 响应参数
    var response: String? = null

    // 插入时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    var insertTime: LocalDateTime? = null
}